<?php
include '../config.php';

class DatabaseDAL
{
    protected $mysqli;

    function connect()
    {
        $this->mysqli = new mysqli("localhost", "root", "", "b2b");
        if (mysqli_connect_errno()) {
            //die("Connect failed: " . mysqli_connect_error());
        }
    }

    function close()
    {
        $this->mysqli->close();
    }
}

?> 